<juci-layout-with-sidebar>
	<div ng-controller="PageBroadcomEthernetPhy">
		<juci-config-heading translate>Ethernet Ports</juci-config-heading>
		<juci-config-info>{{ 'internet.ethernet.phy.info' | translate }}</juci-config-info>
		<juci-config-section>
		<juci-list-editor ng-items="ports" get-item-title="getItemTitle($item)" item-editor="network-device-ethernet-port-edit" hide-buttons="1"></juci-list-editor>
		</juci-config-section>
		<juci-config-section>
			<juci-config-heading translate>Pick uplink port</juci-config-heading>
			<juci-config-info>{{'This will be the port that will be used to configure the physical ethernet port as upling port for routing out to the internet.'|translate}}</juci-config-info>
			<juci-config-line title="Port" no-pull>
				<div class="btn-group">
    	    		<label ng-repeat="port in ports" class="btn btn-success" ng-model="data.wan_port" btn-radio="port" uncheckable>{{port[".name"]}}</label>
				</div>
				<p ng-show="data.wan_port" translate><strong>{{data.wan_port[".name"]}}</strong> socket will be used for passing packets to the internet.</p>
			</juci-config-line>
			<juci-config-line title="This device will be used in a bridge">
				<switch class="green" ng-model="config.bridge.value"></switch>
			</juci-config-line>
		</juci-config-section>
		<juci-config-apply></juci-config-apply>
	</div>
</juci-layout-with-sidebar>
